package com.rc.saas.tenant.mapper.acct;

import com.rc.saas.tenant.common.base.BaseMapper;
import com.rc.saas.tenant.model.acct.TenantOperatorAccount;
import com.rc.saas.tenant.model.acct.TenantOperatorAccountExample;
import com.rc.saas.tenant.vo.acct.AcctWithdrawOrderVo;
import com.rc.saas.tenant.vo.member.MemberRechargeVo;

public interface TenantOperatorAccountMapper extends BaseMapper<String, TenantOperatorAccount, TenantOperatorAccountExample> {
    /**
     * 先更新余额，然后取最新余额存储在AcctWithdrawOrderVo.account返回
     */
    int updateTenantOperatorAccountByOperatorCode(AcctWithdrawOrderVo withdrawOrderVo);

    TenantOperatorAccount sumOperatorAccount();
}